<script>
import Student from "./components/Student.vue";
export default {
  name: "App",
  components:{Student}
}
</script>

<template>
  <div>

<!--数值类型,最好用属性绑定:age,会被解析成表达式,否则会被解析成字符串-->
    <Student name="张三" sex="男" :age="19"></Student>
    <Student  sex="男" ></Student>
  </div>

</template>
